<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        .icon::after {
            content: "🔍";
            font-size: 24px;
            margin-right: 8px;
        }
    </style>
    <title>CSS ::before Example</title>
</head>
<body>
    <div class="icon">Search</div>
    <div>
        <p>你好</p>
        <p>111</p>
    </div>
</body>
</html>